package com.ypd.shop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ypd.common.annotation.Excel;
import com.ypd.common.core.domain.BaseEntity;

/**
 * 商铺地址对象 tb_properties_address
 * 
 * @author lin
 * @date 2024-11-30
 */
public class TbPropertiesAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long addressId;

    /** 商铺id */
    @Excel(name = "商铺id")
    private Long propertyId;

    /** 地址信息 */
    @Excel(name = "地址信息")
    private String addressInfo;

    /** 省代码 */
    @Excel(name = "省代码")
    private String provinceCode;

    /** 省名称 */
    @Excel(name = "省名称")
    private String provinceName;

    /** 市代码 */
    @Excel(name = "市代码")
    private String cityCode;

    /** 市名称 */
    @Excel(name = "市名称")
    private String cityName;

    /** 区代码 */
    @Excel(name = "区代码")
    private String districtCode;

    /** 区名称 */
    @Excel(name = "区名称")
    private String districtName;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detail;

    /** 标签 */
    @Excel(name = "标签")
    private String label;

    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }
    public void setPropertyId(Long propertyId) 
    {
        this.propertyId = propertyId;
    }

    public Long getPropertyId() 
    {
        return propertyId;
    }
    public void setAddressInfo(String addressInfo) 
    {
        this.addressInfo = addressInfo;
    }

    public String getAddressInfo() 
    {
        return addressInfo;
    }
    public void setProvinceCode(String provinceCode) 
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode() 
    {
        return provinceCode;
    }
    public void setProvinceName(String provinceName) 
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName() 
    {
        return provinceName;
    }
    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setDistrictCode(String districtCode) 
    {
        this.districtCode = districtCode;
    }

    public String getDistrictCode() 
    {
        return districtCode;
    }
    public void setDistrictName(String districtName) 
    {
        this.districtName = districtName;
    }

    public String getDistrictName() 
    {
        return districtName;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setLabel(String label) 
    {
        this.label = label;
    }

    public String getLabel() 
    {
        return label;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("propertyId", getPropertyId())
            .append("addressInfo", getAddressInfo())
            .append("provinceCode", getProvinceCode())
            .append("provinceName", getProvinceName())
            .append("cityCode", getCityCode())
            .append("cityName", getCityName())
            .append("districtCode", getDistrictCode())
            .append("districtName", getDistrictName())
            .append("detail", getDetail())
            .append("label", getLabel())
            .toString();
    }
}
